<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>07_input的类型表单</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      .container {
        width: "100%";
        height: 100vh;
        background-color: pink;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
      .input_text {
        height: 30px;
        width: 200px;
        border-radius: 15px;
        padding-left: 20px;
        margin-top: 20px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <form action="">
        <input placeholder="文本类型" class="input_text" type="text" />
        <input placeholder="密码类型" class="input_text" type="password" />
        <input placeholder="文本类型" class="input_text" type="color" />
        <input placeholder="日期类型" class="input_text" type="date" />
        <input
          placeholder="日期时间类型"
          class="input_text"
          type="datetime-local"
        />
        <div>
          <label for="">鸿蒙开发</label>
          <input placeholder="文本类型" class="input_text" type="checkbox" />
          <label for="">web前端</label>
          <input placeholder="文本类型" class="input_text" type="checkbox" />
          <label for="">flutter开发</label
          ><input placeholder="文本类型" class="input_text" type="checkbox" />
        </div>
        <div>
          <label for="">男</label>
          <input
            placeholder="文本类型"
            class="input_text"
            name="sex"
            type="radio"
          />
          <label for="">女</label>
          <input
            placeholder="文本类型"
            class="input_text"
            name="sex"
            type="radio"
          />
        </div>
        <input placeholder="邮件" class="input_text" type="email" />
        <input placeholder="手机号" class="input_text" type="tel" />
        <input placeholder="数字" class="input_text" type="number" />

        <button type="submit">提交</button> <button type="submit">重置</button>
      </form>
    </div>
  </body>
</html>
